<?php
namespace app\index\controller;
use think\Controller;
use think\Request;
use think\Db;
class Sql extends Controller
{
    public function index()
    {
    	//插入,CURD其他炒作同理
    	$result = Db::execute('insert into test1_result (sn,sku) values ("testSn","testSku")');

    	p($result);	
    }
}
?>